﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020004E5 RID: 1253
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class EvolveBuildStartStageScRsp : IMessage<EvolveBuildStartStageScRsp>, IMessage, IEquatable<EvolveBuildStartStageScRsp>, IDeepCloneable<EvolveBuildStartStageScRsp>, IBufferMessage
	{
		// Token: 0x1700103B RID: 4155
		// (get) Token: 0x060038AF RID: 14511 RVA: 0x0009C227 File Offset: 0x0009A427
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<EvolveBuildStartStageScRsp> Parser
		{
			get
			{
				return EvolveBuildStartStageScRsp._parser;
			}
		}

		// Token: 0x1700103C RID: 4156
		// (get) Token: 0x060038B0 RID: 14512 RVA: 0x0009C22E File Offset: 0x0009A42E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return EvolveBuildStartStageScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700103D RID: 4157
		// (get) Token: 0x060038B1 RID: 14513 RVA: 0x0009C240 File Offset: 0x0009A440
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return EvolveBuildStartStageScRsp.Descriptor;
			}
		}

		// Token: 0x060038B2 RID: 14514 RVA: 0x0009C247 File Offset: 0x0009A447
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildStartStageScRsp()
		{
		}

		// Token: 0x060038B3 RID: 14515 RVA: 0x0009C250 File Offset: 0x0009A450
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildStartStageScRsp(EvolveBuildStartStageScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.lLLMLIMHHAL_ = ((other.lLLMLIMHHAL_ != null) ? other.lLLMLIMHHAL_.Clone() : null);
			this.levelInfo_ = ((other.levelInfo_ != null) ? other.levelInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060038B4 RID: 14516 RVA: 0x0009C2B8 File Offset: 0x0009A4B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildStartStageScRsp Clone()
		{
			return new EvolveBuildStartStageScRsp(this);
		}

		// Token: 0x1700103E RID: 4158
		// (get) Token: 0x060038B5 RID: 14517 RVA: 0x0009C2C0 File Offset: 0x0009A4C0
		// (set) Token: 0x060038B6 RID: 14518 RVA: 0x0009C2C8 File Offset: 0x0009A4C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x1700103F RID: 4159
		// (get) Token: 0x060038B7 RID: 14519 RVA: 0x0009C2D1 File Offset: 0x0009A4D1
		// (set) Token: 0x060038B8 RID: 14520 RVA: 0x0009C2D9 File Offset: 0x0009A4D9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SceneBattleInfo LLLMLIMHHAL
		{
			get
			{
				return this.lLLMLIMHHAL_;
			}
			set
			{
				this.lLLMLIMHHAL_ = value;
			}
		}

		// Token: 0x17001040 RID: 4160
		// (get) Token: 0x060038B9 RID: 14521 RVA: 0x0009C2E2 File Offset: 0x0009A4E2
		// (set) Token: 0x060038BA RID: 14522 RVA: 0x0009C2EA File Offset: 0x0009A4EA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildLevelInfo LevelInfo
		{
			get
			{
				return this.levelInfo_;
			}
			set
			{
				this.levelInfo_ = value;
			}
		}

		// Token: 0x060038BB RID: 14523 RVA: 0x0009C2F3 File Offset: 0x0009A4F3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as EvolveBuildStartStageScRsp);
		}

		// Token: 0x060038BC RID: 14524 RVA: 0x0009C304 File Offset: 0x0009A504
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(EvolveBuildStartStageScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this.LLLMLIMHHAL, other.LLLMLIMHHAL) && object.Equals(this.LevelInfo, other.LevelInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060038BD RID: 14525 RVA: 0x0009C368 File Offset: 0x0009A568
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.lLLMLIMHHAL_ != null)
			{
				num ^= this.LLLMLIMHHAL.GetHashCode();
			}
			if (this.levelInfo_ != null)
			{
				num ^= this.LevelInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060038BE RID: 14526 RVA: 0x0009C3D3 File Offset: 0x0009A5D3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060038BF RID: 14527 RVA: 0x0009C3DB File Offset: 0x0009A5DB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060038C0 RID: 14528 RVA: 0x0009C3E4 File Offset: 0x0009A5E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.levelInfo_ != null)
			{
				output.WriteRawTag(26);
				output.WriteMessage(this.LevelInfo);
			}
			if (this.lLLMLIMHHAL_ != null)
			{
				output.WriteRawTag(58);
				output.WriteMessage(this.LLLMLIMHHAL);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060038C1 RID: 14529 RVA: 0x0009C45C File Offset: 0x0009A65C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.lLLMLIMHHAL_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.LLLMLIMHHAL);
			}
			if (this.levelInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.LevelInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060038C2 RID: 14530 RVA: 0x0009C4CC File Offset: 0x0009A6CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(EvolveBuildStartStageScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.lLLMLIMHHAL_ != null)
			{
				if (this.lLLMLIMHHAL_ == null)
				{
					this.LLLMLIMHHAL = new SceneBattleInfo();
				}
				this.LLLMLIMHHAL.MergeFrom(other.LLLMLIMHHAL);
			}
			if (other.levelInfo_ != null)
			{
				if (this.levelInfo_ == null)
				{
					this.LevelInfo = new EvolveBuildLevelInfo();
				}
				this.LevelInfo.MergeFrom(other.LevelInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060038C3 RID: 14531 RVA: 0x0009C560 File Offset: 0x0009A760
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060038C4 RID: 14532 RVA: 0x0009C56C File Offset: 0x0009A76C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 26U)
				{
					if (num != 58U)
					{
						if (num != 104U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.Retcode = input.ReadUInt32();
						}
					}
					else
					{
						if (this.lLLMLIMHHAL_ == null)
						{
							this.LLLMLIMHHAL = new SceneBattleInfo();
						}
						input.ReadMessage(this.LLLMLIMHHAL);
					}
				}
				else
				{
					if (this.levelInfo_ == null)
					{
						this.LevelInfo = new EvolveBuildLevelInfo();
					}
					input.ReadMessage(this.LevelInfo);
				}
			}
		}

		// Token: 0x04001650 RID: 5712
		private static readonly MessageParser<EvolveBuildStartStageScRsp> _parser = new MessageParser<EvolveBuildStartStageScRsp>(() => new EvolveBuildStartStageScRsp());

		// Token: 0x04001651 RID: 5713
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001652 RID: 5714
		public const int RetcodeFieldNumber = 13;

		// Token: 0x04001653 RID: 5715
		private uint retcode_;

		// Token: 0x04001654 RID: 5716
		public const int LLLMLIMHHALFieldNumber = 7;

		// Token: 0x04001655 RID: 5717
		private SceneBattleInfo lLLMLIMHHAL_;

		// Token: 0x04001656 RID: 5718
		public const int LevelInfoFieldNumber = 3;

		// Token: 0x04001657 RID: 5719
		private EvolveBuildLevelInfo levelInfo_;
	}
}
